<div class="frame_addProductDiv">

	<form id="statistics_countryForm" method="post" action="administrator-statistics-country">

	  <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#c8d9e9">

		<tr>

		  <td colspan="2" class="se" style="text-align:left">

		  	<strong>按条件筛选</strong>

		  </td>

		</tr>

		<tr>

		  <td valign="middle" class="ri-bbgg"><span class="red"></span> 国家： </td>

		  <td class="le">

		  	<div>
				<select name="locationid">
                           <option value="">选择国家</option>
                    <?php for($i=0;$i<count($this->fenleiArray);$i++):?>
				<option value="<?=$this->fenleiArray[$i]['flid']?>" <?php if ($this->fenleiArray[$i]['flid'] == $this->params['locationid']) {echo 'selected';}?>><?=$this->fenleiArray[$i]['flname']?></option>
			<?php endfor;?>
                        </select>
			</div>


		  </td>

		</tr>

		<tr>

		  <td valign="middle" class="ri-bbgg"><span class="red"></span> 指定时间： </td>

		  <td class="le">

		  	<div>
		  		<input type="text" name="timestart" value="<?php if($this->params['timestart']) { echo $this->params['timestart']; } else { echo date('Y-m-d H:i:s'); } ?>" /> - <input type="text" name="timeend" value="<?php if($this->params['timeend']) { echo $this->params['timeend']; } else { echo date('Y-m-d H:i:s'); } ?>" />
			</div>


		  </td>

		</tr>

		<?php if($this->total): ?>
		<tr>

		  <td valign="middle" class="ri-bbgg"><span class="red"></span> 综合统计： </td>

		  <td class="le">

		  	<div>
				总订单数：<?php echo intval($this->total['t']) ?><br /><br />
				订单总金额：<?php echo ($this->total['m'] == null) ? 0 : $this->total['m'] ?>
			</div>


		  </td>

		</tr>
		<?endif; ?>

		<tr>

		  <td valign="top" class="ri-bbgg"><span class="red"></span></td>

		  <td class="le">

		  	<div>
				<input type="submit" value="提交搜索" />
			</div>


		  </td>

		</tr>
	  </table>
	</form>

	  <div class="addProductSubmit">
	  	
	  </div>
  

</div>